package com.zrkj.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

/**
 * @author : 司总
 * @className : Marketing
 * @package: com.zrkj.entity
 * @description : 营销活动表 实例类
 * @date :  2023-11-23
 */
@Getter
@Setter
    @Accessors(chain = true)
@ToString
@TableName("sys_marketing")
    @ApiModel(value = "Marketing", description = "营销活动表")
public class Marketing implements Serializable{

private static final long serialVersionUID=1L;

                @TableId(value = "id", type = IdType.ID_WORKER_STR)
        @ApiModelProperty(value = "")
                private String id;


    /**
     * 营销活动编号
     */
    @TableField("yxhdid")
    @ApiModelProperty(value = "营销活动编号")
        private String yxhdid;


    /**
     * 营销活动名
     */
    @TableField("yxhdm")
    @ApiModelProperty(value = "营销活动名")
        private String yxhdm;


    /**
     * 营销方式
     */
    @TableField("yxfs")
    @ApiModelProperty(value = "营销方式")
        private String yxfs;


    /**
     * 数量
     */
    @TableField("sl")
    @ApiModelProperty(value = "数量")
        private String sl;


    /**
     * 派送目标
     */
    @TableField("psmb")
    @ApiModelProperty(value = "派送目标")
        private String psmb;


    /**
     * 有效期
     */
    @TableField("yxq")
    @ApiModelProperty(value = "有效期")
        private String yxq;


    /**
     * 活动开始时间
     */
    @TableField("hdkssj")
    @ApiModelProperty(value = "活动开始时间")
        private String hdkssj;


    /**
     * 方案名称
     */
    @TableField("famc")
    @ApiModelProperty(value = "方案名称")
        private String famc;


    /**
     * 方案编号
     */
    @TableField("fabh")
    @ApiModelProperty(value = "方案编号")
        private String fabh;


    /**
     * 概述
     */
    @TableField("gs")
    @ApiModelProperty(value = "概述")
        private String gs;


    /**
     * 创建人
     */
    @TableField("cjr")
    @ApiModelProperty(value = "创建人")
        private String cjr;


    /**
     * 审核状态
     */
    @TableField("shzt")
    @ApiModelProperty(value = "审核状态")
        private String shzt;


    /**
     * 获客算法
     */
    @TableField("hksf")
    @ApiModelProperty(value = "获客算法")
        private String hksf;


    /**
     * 通过短信注册人数
     */
    @TableField("tgdxzcrs")
    @ApiModelProperty(value = "通过短信注册人数")
        private String tgdxzcrs;


    /**
     * 已发送短信数量
     */
    @TableField("yfsdxsl")
    @ApiModelProperty(value = "已发送短信数量")
        private String yfsdxsl;


    /**
     * 触达短信数量
     */
    @TableField("cddxsl")
    @ApiModelProperty(value = "触达短信数量")
        private String cddxsl;


    /**
     * 到站人数
     */
    @TableField("dzrs")
    @ApiModelProperty(value = "到站人数")
        private String dzrs;


    /**
     * 发放/使用优惠卷/份
     */
    @TableField("ffyhj")
    @ApiModelProperty(value = "发放/使用优惠卷/份")
        private String ffyhj;


    /**
     * 到站累积充电量
     */
    @TableField("dzljcdl")
    @ApiModelProperty(value = "到站累积充电量")
        private String dzljcdl;


    /**
     * 到站累积充电金额
     */
    @TableField("dzljcdje")
    @ApiModelProperty(value = "到站累积充电金额")
        private String dzljcdje;


    @TableField("column21")
    @ApiModelProperty(value = "")
        private String column21;


    @TableField("column22")
    @ApiModelProperty(value = "")
        private String column22;


    @TableField("column23")
    @ApiModelProperty(value = "")
        private String column23;


    @TableField("column24")
    @ApiModelProperty(value = "")
        private String column24;


    @TableField("column25")
    @ApiModelProperty(value = "")
        private String column25;


    @TableField("column26")
    @ApiModelProperty(value = "")
        private String column26;


    @TableField("column27")
    @ApiModelProperty(value = "")
        private String column27;


    @TableField("column28")
    @ApiModelProperty(value = "")
        private String column28;


    @TableField("column29")
    @ApiModelProperty(value = "")
        private String column29;


    @TableField("column30")
    @ApiModelProperty(value = "")
        private String column30;



@TableField(exist = false)
private Long current;

@TableField(exist = false)
private Long size;

public Page getPage() {

        return new Page(null != this.getCurrent() ? this.getCurrent() : 1L, null != this.getSize() ? this.getSize() : 10L);
        }



        }
